package com.aplink.dellcommercial.dialogs;

import android.app.AlertDialog;
import android.content.Context;

public class Dialog {
    public static final void showAlertDialog( Context context, int icon,
                                              String message, String title ) {
        final AlertDialog.Builder builder = new AlertDialog.Builder( context );
        builder.setTitle( title ).setMessage( message ).setIcon( icon );
        builder.setCancelable( false ).setPositiveButton( android.R.string.ok,
                null );
        builder.create().show();
    }
}
